﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FrmMyWorkExamList.aspx.cs" Inherits="ExamV5.WorkExam.FrmMyWorkExamList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <meta http-equiv="Content-Language" content="zh-cn" />
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
	
    <link href="../Image/STYLE.CSS" rel="stylesheet" type="text/css" />
	<script language="JavaScript" charset="gb2312" src="../Image/calendar.js"></script>
    <meta http-equiv="refresh" content="60">
    <script type="text/javascript" language="javascript">
        function SubmitKeyClick(button) {
            if (event.keyCode == 13) {
                event.keyCode = 9;
                event.returnValue = false;
                document.all[button].click();
            }
        }

        function ShowJoinExam(intID) {
            if (confirm('确定要进入测评考场？')) {

                var strURL = "JoinWorkExam.aspx?PaperID=" + intID;
              
                var scrWidth = screen.availWidth - 15;
                var scrHeight = screen.availHeight - 70;

                var returnValue = window.open(strURL, "测评考场", "height=" + scrHeight + ", width=" + scrWidth + ", top=0, left=0,scrollbars=yes,status=no,toolbar=no,menubar=no,location=no");

                var loop = setInterval(function () {
                    if (returnValue.closed) {
                        clearInterval(loop);
                        parent.MainFrame.location.href = 'FrmMyWorkExamList.aspx';
                    }
                }, 1);
            }
        }
		</script>
</head>
<body>
    <form id="Form1" runat="server">
     <asp:ScriptManager ID="SM" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UPPart" runat="server">
                           <ContentTemplate>

    <table cellSpacing="0" cellPadding="0" border="0">
	    <tr>
		   <td width=37><img src="../image/BobyTip.gif" border="0" /></td>
           <td>当前位置：<a href='../FrmMain.aspx'>系统首页</a> > 我的职业测评</td>
	    </tr>
        </table>
        <table cellSpacing="0" cellPadding="0" border="0" width="100%">
        <tr>
           <td  height=51  background="../image/BobyModNameBG.gif">
                    <table cellSpacing="0" cellPadding="0" border="0">
                        <tr>
                            <td width=5></td>
                            <td width="133"  background="../image/HeadTitleCB.gif" height="41" align="center"><a href='FrmMyWorkExamList.aspx'  onfocus='this.blur();'><img src="../image/MenuICO/Menu17.gif" border="0" style='POSITION:relative;TOP:3px'> <font color="#ffffff"><b>我的职业测评</b></font></a></td>
                         </tr>
                   </table>
            </td>
         </tr>
         <tr>
            <td  height=33  background="../image/QueryBG.gif" align="right">
                       
            </td>
         </tr>
         <tr>
                <td> 
                                    <!--数据列表区-->
                                    <asp:GridView ID="DataGridInfo" runat="server" AllowPaging="True"  
                                            onpageindexchanging="DataGridInfo_PageIndexChanging" 
                                            AutoGenerateColumns="False" CellPadding="10" BorderWidth="1px" Width="100%" 
                                            CssClass="tableStyle" BackColor="White" PageSize="10" 
                                            AllowSorting="True" onsorting="DataGridInfo_Sorting"  
                                            onrowdatabound="DataGridInfo_RowDataBound" 
                                            
                                            DataKeyNames="ID,PaperID,ExamName,PaperStartTime,PaperEndTime,Flag">
							            <HeaderStyle Font-Bold="True" HorizontalAlign="Center" CssClass="tabth_bg" ForeColor="#143F61"></HeaderStyle>
							            <FooterStyle ForeColor="#000066" BackColor="White"></FooterStyle>
                                            <Columns>
                                               
                                               <asp:BoundField DataField="ExamName" HeaderText="测评名称"  SortExpression="ExamName" >
                                                </asp:BoundField>
                                                <asp:BoundField DataField="SubjectName" HeaderText="测评科目"   SortExpression="SubjectName">
                                                <HeaderStyle Width="155px" />
                                                </asp:BoundField>

                                               <asp:BoundField DataField="GetCountFen" HeaderText="得分"　   SortExpression="GetCountFen">
												<HeaderStyle Width="60px"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center"></ItemStyle>
											</asp:BoundField>
											<asp:BoundField DataField="Flag" HeaderText="状态">
												<HeaderStyle Width="70px"></HeaderStyle>
												<ItemStyle HorizontalAlign="Center" ForeColor="Red"></ItemStyle>
											</asp:BoundField>
                                               <asp:TemplateField HeaderText="相关操作">
                                                    <ItemTemplate>
                                                        <asp:Label id="labEnter" runat="server"></asp:Label>
                                                    </ItemTemplate>
                                                    <HeaderStyle Width="100px" />
                                                    <ItemStyle HorizontalAlign="Center"></ItemStyle>
                                                </asp:TemplateField>
                                               
                                            </Columns>
                                        <PagerStyle HorizontalAlign="Right" />
           
                                     </asp:GridView>
                                    </td>
                                </tr>
                                
                                <tr height="25">
                                    <td><br />
                                    <!--分页区-->
                                        <table border="0" width="100%" cellpadding="0" cellspacing="0">
										<tr>
											<td align="left">&nbsp;&nbsp;</td>
											<td align="right"><asp:label id="labRescordCount" runat="server">总共&nbsp;<font color='#0000C0'><B>0</B></font>&nbsp;条记录&nbsp;<font color='#0000C0'><B>1/1</B></font>&nbsp;页&nbsp;</asp:label>
												<asp:LinkButton id="LBFirstPage" runat="server" onclick="LBFirstPage_Click">第一页</asp:LinkButton>&nbsp;
												<asp:LinkButton id="LBPrevPage" runat="server" onclick="LBPrevPage_Click">上一页</asp:LinkButton>&nbsp;
												<asp:LinkButton id="LBNextPage" runat="server" onclick="LBNextPage_Click">下一页</asp:LinkButton>&nbsp;
												<asp:LinkButton id="LBLastPage" runat="server" onclick="LBLastPage_Click">最后页</asp:LinkButton>&nbsp;</td>
										</tr>
									    </table>
                                    </td>
                                </tr>
                                </table>
					</td>
					
				</tr>
			</table>
             </ContentTemplate>
       </asp:UpdatePanel>
    </form>
   
</body>
</html>